<?php
/**
 * Created by PhpStorm.
 * User: zhu_hbo
 * Date: 16/10/8
 * Time: 下午2:34
 */

/*
echo 输出的速度比 print 快， echo 没有返回值，print有返回值1。
echo - 可以输出一个或多个字符串
print - 只允许输出一个字符串，返回值总为 1
*/

//echo "<h2> PHP is fun !</h2>";
//echo "HEllo world!<br>";
//echo "I'm about to learn PHP!<br>";
//echo "this", " string", "was", " made", " with multiple parameters.";

//$text1 = "learn php";
//$text2 = "runoob.com";
//$cars = array("Volvo", "BMW", "Toyota");
//echo $text1;
//echo "<br>";
//echo "study php at $text2";
//echo "<br>";
//echo "My car is a $cars[0]";

//echo
print "<h2>PHP is fun!</h2>";
//, "is fun";
echo '单引号字符串';

?>